package cn.broadsense.thrid.param;

import com.alibaba.fastjson2.JSONObject;
import lombok.Data;

import java.util.List;

/**
 * 布控审核
 *
 * @author pengxin
 * @date 2022-10-13 17:45
 */
@Data
public class VehicleSurveillanceAuditParam extends BaseParam {
    private static final long serialVersionUID = 4160573727105562314L;

    /**
     * 记录id
     */
    private String recordId;

    /**
     * pass通过（状态变为“布控中”） 通过
     * notPass 不通过（状态变为“不通过”）
     */
    private String operation;

    @Override
    public void checkParam() {

    }

    @Override
    public List<String> getIgnoreList() {
        List<String> ignoreList = super.getIgnoreList();
        ignoreList.add("recordId");
        return ignoreList;
    }

    @Override
    public Class getResultClass() {
        return JSONObject.class;
    }
}
